<template>
  <div>
    <van-tabs v-model="active" swipeable>
      <van-tab title="待办">
        <task-list></task-list>
      </van-tab>
      <van-tab title="待阅">
        <div class="padding20X paddingX14 van-bgcolor-white">内容2</div>
      </van-tab>
      <van-tab title="竞签">
        <div class="padding20X paddingX14 van-bgcolor-white">内容3</div>
      </van-tab>
      <van-tab title="我的申请">
        <div class="padding20X paddingX14 van-bgcolor-white">内容4</div>
      </van-tab>
      <van-tab title="已办">
        <div class="padding20X paddingX14 van-bgcolor-white">内容2</div>
      </van-tab>
    </van-tabs>
  </div>
</template>

<script>
import TaskList from '@/components/TaskList.vue'
export default {
  components: { TaskList },
  data() {
    return {
      active: 0
    }
  }
}
</script>